import { Component } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { NzInputModule } from 'ng-zorro-antd/input';
import { NzInputNumberModule } from 'ng-zorro-antd/input-number';

@Component({
  selector: 'app-input-number-size',
  standalone: true,
  imports: [NzInputNumberModule, NzInputModule, FormsModule],
  template: `
    <p class="demo demo-space">
      <nz-input-number [(ngModel)]="value" nzSize="large" />
      <nz-input-number [(ngModel)]="value" nzSize="default" />
      <nz-input-number [(ngModel)]="value" nzSize="small" />
    </p>
  `,
})
export class InputNumberSizeComponent {
  value: number | '' = '';
}
